home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7892 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What is &Variable (declared as: char Variable[10])?
  5. Date: 28 Feb 1996 22:14:20 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Feb28151420@qcd.lanl.gov>
  8. References: <4gqpa1$3h9@alcor.usc.edu> <4gsdno$1bg@umbc9.umbc.edu>
  9.     <4gtab6$acb@ceylon.gte.com><313318b8.53776146@nntp.ix.netcom.com>
  10.     <1177@altheim.win-uk.net>
  11. NNTP-Posting-Host: qcd.lanl.gov
  12. Mime-Version: 1.0
  13. Content-Type: text
  14. In-reply-to: broldham@altheim.win-uk.net's message of Wed, 28 Feb 1996 13:12:52 GMT
  15.  
  16. In article <1177@altheim.win-uk.net>
  17. broldham@altheim.win-uk.net (Brian R. Oldham) writes:
  18. <snip>
  19. BRO: I think Brenda is right. No-one has said that arrays are pointers, but
  20.  
  21. I do not think so.
  22.  
  23. BRO: the name of an array is. It is the address of the first element of an
  24.  
  25. If I write sizeof a, do I get the same answer as sizeof &a[0] ??? Why
  26. don't you think and experiment before you write?
  27.  
  28. BRO: array. My understanding is that &myarray is allowable in C++, but not
  29. BRO: in C. Anyone confirm this?
  30.  
  31. Confirming a false statement is impossible.
  32.  
  33. Cheers
  34. Tanmoy
  35. --
  36. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  37. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  38. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  39. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  40. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  41. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  42.